#!/usr/bin/python
# -*- coding: utf-8 -*-
import requests
import sys

def RemoteReporter(title,text):
    sckey = 'SCT44773TW2CNSLIgnbVtL1KaBIJOmbsi'#在发送消息页面可以找到
    url = 'https://sc.ftqq.com/%s.send?text=%s'%(sckey,title)
    #text为推送的title,desp为推送的描述
    url = 'https://sc.ftqq.com/%s.send?text=%s&desp=%s'%(sckey,title,text)
    requests.get(url)
    return

RemoteReporter(sys.argv[1],'')

